<?php
/**
 * @purpose: 对“请求”类型中子类型为x(xxxxxx)的编码与解码文件
 * @author: Mandel Woo <wuzhijian@snda.com>
 *
 * @memo: msg_request_typex_encoder() 函数中传入的参数即是sendRequest时第三个参数data数组中的key,
		如sendRequest(xx,xx, array('a'=>,'b'=>,'c'=>)，则在该函数中可以用func_get_arg得到a,b,c三个参数。
		若data=null，则此处得不到参数。

		msg_request_typex_decoder函数中可得到以下一些参数：
		"id","senderid","receiverid","content","createTime","changeFlag","fmt"。
		其中content是msg_request_type3_encoder函数的返回值。
		<code>
		$fields = array("id","senderid","receiverid","content","createTime","changeFlag","fmt");

		foreach($fields as $k => $v) {
			eval("\${$v}=func_get_arg($k);");
		}
		</code>
 */
require_once(dirname(__FILE__)."/../../../models/user/UCModUserInfo.php");


function msg_request_type3_encoder() {
	return xxx;
}

function msg_request_type3_decoder() {
	$fields = array("id","senderid","receiverid","content","createTime","changeFlag","fmt");

	foreach($fields as $k => $v) {
		eval("\${$v}=func_get_arg($k);");
	}



	if ($fmt == 'line') {


	} else if ($fmt == 'box') {


	} else {
		return "";
	}
}


